﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConfigManagement.aspx.cs" MasterPageFile="~/Site1.master" 
    Inherits="WebApplication1.ConfigManagement.ConfigManagement" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="width: 100%; text-align: left; ">
            <br />
            <br />
        <div style="width: 85%; border: solid 1px black; margin: 0 auto; ">
            <br />
            选择要管理信息类型：<asp:DropDownList ID="DropDownList1" runat="server" 
                AutoPostBack="True" onselectedindexchanged="DropDownList1_SelectedIndexChanged">
            </asp:DropDownList>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 添加项目：<asp:TextBox 
                ID="TextBox1" runat="server"></asp:TextBox>
            　　<asp:Button ID="Button1" runat="server" Text="添  加" onclick="Button1_Click" />
            <br />
            <br />
            <hr/>
            <br />
            <asp:GridView ID="GridView1" Width="60%"  runat="server" 
                AutoGenerateColumns="False" BackColor="White" BorderColor="White" 
                BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1" 
                GridLines="None" DataKeyNames="ID" onrowdatabound="GridView1_RowDataBound" 
                onrowdeleting="GridView1_RowDeleting">
                <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                <Columns>
                    <asp:BoundField DataField="ItemName" HeaderText="项名" />
                    <asp:CommandField ShowDeleteButton="True" />
                </Columns>
                <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
            </asp:GridView>
        </div>
    </div>
</asp:Content>
